home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0527.dms / q0527.adf / defs.h < prev    next >
C/C++ Source or Header  |  1991-02-02  |  1KB  |  59 lines

  1.  
  2. /*
  3.  *  DEFS.H
  4.  *
  5.  *  (c)Copyright 1990, All Rights Reserved
  6.  */
  7.  
  8. #include <exec/types.h>
  9. #include <exec/nodes.h>
  10. #include <exec/lists.h>
  11. #include <exec/libraries.h>
  12. #include <libraries/dos.h>
  13. #include <libraries/dosextens.h>
  14. #ifdef LATTICE            /*  only req'd for Lattice resident */
  15. #include <proto/exec.h>
  16. #include <proto/dos.h>
  17. #define __aligned
  18. #else
  19. #include <lib/misc.h>
  20. #endif
  21.  
  22. #ifndef INCLUDE_VERSION     /*  2.0 compilation compat check */
  23. #define INCLUDE_VERSION     0
  24. #else
  25. #include <clib/exec_protos.h>
  26. #include <clib/dos_protos.h>
  27. #include <clib/alib_protos.h>
  28. #endif
  29.  
  30. #include <stdio.h>
  31. #include <stdlib.h>
  32. #include <fcntl.h>
  33. #include <string.h>
  34. #include <lib/version.h>
  35.  
  36. #define Prototype   extern
  37. #define Local
  38.  
  39. #define BTOC(bptr,ctype)    ((ctype *)((long)bptr << 2))
  40. #define CTOB(ptr)           ((long)(ptr) >> 2)
  41.  
  42. typedef unsigned char    ubyte;
  43. typedef unsigned short    uword;
  44. typedef unsigned long    ulong;
  45. typedef struct CommandLineInterface    CLI;
  46. typedef struct Process         Process;
  47. typedef struct List         LIST;
  48. typedef struct FileInfoBlock FIB;
  49. typedef struct Node         NODE;
  50.  
  51. #define DICE_C        0
  52. #define LATTICE_C   1
  53. #define AZTEC_C     2
  54.  
  55.  
  56.  
  57. #include "protos.h"
  58.  
  59.